package me.jessyan.armscomponent.app.di.component;

import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;
import me.jessyan.armscomponent.app.di.module.MineMsgModule;
import me.jessyan.armscomponent.app.mvp.contract.mine.MineMsgContract;
import me.jessyan.armscomponent.app.mvp.ui.activity.mine.MineMsgActivity;


/**
 * <p>
 * Author: Taozebi
 * Date: 09/10/2021 11:00
 * Description: describe of this class
 */
@ActivityScope
@Component(modules = MineMsgModule.class, dependencies = AppComponent.class)
public interface MineMsgComponent {
    void inject(MineMsgActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MineMsgComponent.Builder view(MineMsgContract.View view);

        MineMsgComponent.Builder appComponent(AppComponent appComponent);

        MineMsgComponent build();
    }
}